DrawSprocket
Integration (20-April-98)DrawSprocket
in my application?DrawSprocket
both perform single and double buffering, so it would be really nice to integrate them together. Unfortunately, there won't be any resources to do this in the near future.DrawSprocket
to choose and configure the display, and allow RAVE to handle all of the buffering issues. This also makes sense since the RAVE engine may be able to do the buffering and blitting entirely in hardware.GDevices
from the list that won't support one of those engines. This can be done by iterating over the device list, and checking each device against all of the engines using QAEngineCheckDevice
. If no engines support that device, you can remove it from the list by reserving a DrawSprocket context on that monitor. You'll never actually activate that context, so you can just call DSpGetFirstContext
to get the first valid mode, and reserve the context using that information.GDevices
, call DrawSprocket
to find a valid context. Since you are planning on using RAVE to do your rendering, you should reserve the context using a page count of 1, which tells DrawSprocket
to not allocate any back buffers.QAEngineCheckDevice
after the mode switch has occurred. Most of the current accelerators will always work in thousands of colors.DrawSprocket
context or allowing DrawSprocket to change video modes. Any resolution change can reorganize memory on the graphics card, which will disturb the RAVE buffers and texture memory.